<script>
	import { urls } from '@/api/urls'
	export default {
		onLaunch: function() {
			this.getAbout()
		},
		onShow: function() {
			console.log('App Show')
		},
		onHide: function() {
			console.log('App Hide')
		},
		methods: {
			getAbout() {
				uni.$u.http.get(urls.getAbouts).then(res => {
					// console.log(res)
					uni.setStorageSync(this.constants.STORAGE_SETTING_KEY, res)
				})
			}
		}
	}
</script>

<style lang="scss">
	/*每个页面公共css */
	@import "@/uni_modules/uview-ui/index.scss";
	@import "@/common/com.scss";
</style>
